////////////////////////////////////////////////////////////////////////////////
// Copyright 2005 CORE Solutions Limited
// All rights reserved.
// PROPRIETARY AND CONFIDENTIAL INFORMATION.
// Use is subject to license terms.
//
// FUNCTION ID      :   SO
// AUTHOR           :   Victor.zheng 
// DATE CREATE      :   2005/10/25
// DESCRIPTION      :   a CRITERIA file for the function, SO
//                  :   
//                  :   
//                  :   
//
// MODIFICATION HISTORY:
// DATE         AUTHOR          VERSION NO.         COMMENT
// -----------  --------------  ------------------  -------------------
// 2005/10/25   Victor.zheng    1.0                 source is generated.
//
//
//
////////////////////////////////////////////////////////////////////////////////

package com.erp.app.login.soEnquiry.criteria;

import com.erp.framework.model.criteria.SimplePageEditStyleSrchCriteria;

/**
* <p>A <strong>SrchCriteria</strong>
* getter and setter methods for all of the bean properties, and implements
* <code>Serializable</code>, as required by the JavaBean specification
* The main purpose for this bean is to store the user search criteria input
* for database query.
*
* @author          Victor.zheng 
* @version 1.0     2005/10/25
* @since           FrameWork 1.0
*
*/

// Note:
// Currently only generates the first 5 fields of a table
// However, this number can be set in GenConstants.NO_CRITERIA

public class SoEnquirySrchCriteria extends SimplePageEditStyleSrchCriteria {

	//Searching Criteria Attributes (DB Table Name: T_SO_HDR)
	private String srchCompanyCode;                  //DB Column Name: COMPANY_CODE
	private String srchStatus;                       //DB Column Name: STATUS
	private String srchSoNoFr;                       //DB Column Name: SO_NO
	private String srchSoNoTo;                       //DB Column Name: SO_NO
	private String srchSoDateFr;                     //DB Column Name: SO_DATE
	private String srchSoDateTo;                     //DB Column Name: SO_DATE
	private String srchCustCodeFr;                   //DB Column Name: CUST_CODE
	private String srchCustCodeTo;                   //DB Column Name: CUST_CODE
	private String srchTelNoCountryFr;               //DB Column Name: TEL_NO_COUNTRY
	private String srchTelNoCountryTo;               //DB Column Name: TEL_NO_COUNTRY
	private String srchTelNoCityFr;                  //DB Column Name: TEL_NO_CITY
	private String srchTelNoCityTo;                  //DB Column Name: TEL_NO_CITY

	/**
	* Converts to a string representing the data in this object.
	* A new <code>String</code> object is allocated and initialized to 
	* contain the character sequence currently represented by this 
	* object. This <code>String</code> is then returned. Subsequent 
	* changes to this object do not affect the contents of the 
	* <code>String</code>. 
	*
	* @return     a string representation of the object.
	* @see        java.lang.Object#toString()
	* @author     Victor.zheng 
	* @since      FrameWork 1.0
	*/
	public String toString() {
		String pkStr = "PK: {srchSoNoFr = " + this.srchSoNoFr
			+ "\n, srchSoNoTo = " + this.srchSoNoTo + "}\n";

		String colStr = "COL: {srchSoDateFr = " + this.srchSoDateFr
			+ "\n, srchSoDateTo = " + this.srchSoDateTo
			+ "\n, srchCustCodeFr = " + this.srchCustCodeFr
			+ "\n, srchCustCodeTo = " + this.srchCustCodeTo
			+ "\n, srchTelNoCountryFr = " + this.srchTelNoCountryFr
			+ "\n, srchTelNoCountryTo = " + this.srchTelNoCountryTo
			+ "\n, srchTelNoCityFr = " + this.srchTelNoCityFr
			+ "\n, srchTelNoCityTo = " + this.srchTelNoCityTo + "}\n";

		String mandatoryStr = "{srchCompanyCode = " + this.srchCompanyCode
			+ "\n, srchStatus = " + this.srchStatus
			+ "}\n";

		return "toString() is:\n" + mandatoryStr + pkStr + colStr;
	}

	////////////////////////////////////////////////////////////////////////////////
	//Generated Accessors (get/set methods) for searching criterias
	////////////////////////////////////////////////////////////////////////////////

	public String getSrchCompanyCode() {
		return this.srchCompanyCode;
	}

	public String getSrchStatus() {
		return this.srchStatus;
	}

	public String getSrchSoNoFr() {
		return this.srchSoNoFr;
	}

	public String getSrchSoNoTo() {
		return this.srchSoNoTo;
	}

	public String getSrchSoDateFr() {
		return this.srchSoDateFr;
	}

	public String getSrchSoDateTo() {
		return this.srchSoDateTo;
	}

	public String getSrchCustCodeFr() {
		return this.srchCustCodeFr;
	}

	public String getSrchCustCodeTo() {
		return this.srchCustCodeTo;
	}

	public String getSrchTelNoCountryFr() {
		return this.srchTelNoCountryFr;
	}

	public String getSrchTelNoCountryTo() {
		return this.srchTelNoCountryTo;
	}

	public String getSrchTelNoCityFr() {
		return this.srchTelNoCityFr;
	}

	public String getSrchTelNoCityTo() {
		return this.srchTelNoCityTo;
	}

	public void setSrchCompanyCode(String srchCompanyCode) {
		this.srchCompanyCode = srchCompanyCode;
	}

	public void setSrchStatus(String srchStatus) {
		this.srchStatus = srchStatus;
	}

	public void setSrchSoNoFr(String srchSoNoFr) {
		this.srchSoNoFr = srchSoNoFr;
	}

	public void setSrchSoNoTo(String srchSoNoTo) {
		this.srchSoNoTo = srchSoNoTo;
	}

	public void setSrchSoDateFr(String srchSoDateFr) {
		this.srchSoDateFr = srchSoDateFr;
	}

	public void setSrchSoDateTo(String srchSoDateTo) {
		this.srchSoDateTo = srchSoDateTo;
	}

	public void setSrchCustCodeFr(String srchCustCodeFr) {
		this.srchCustCodeFr = srchCustCodeFr;
	}

	public void setSrchCustCodeTo(String srchCustCodeTo) {
		this.srchCustCodeTo = srchCustCodeTo;
	}

	public void setSrchTelNoCountryFr(String srchTelNoCountryFr) {
		this.srchTelNoCountryFr = srchTelNoCountryFr;
	}

	public void setSrchTelNoCountryTo(String srchTelNoCountryTo) {
		this.srchTelNoCountryTo = srchTelNoCountryTo;
	}

	public void setSrchTelNoCityFr(String srchTelNoCityFr) {
		this.srchTelNoCityFr = srchTelNoCityFr;
	}

	public void setSrchTelNoCityTo(String srchTelNoCityTo) {
		this.srchTelNoCityTo = srchTelNoCityTo;
	}

}
